<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2" xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2" xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/wsn/br-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:import schemaLocation="http://www.w3.org/2005/08/addressing/ws-addr.xsd" namespace="http://www.w3.org/2005/08/addressing" />
  <xsd:import schemaLocation="http://docs.oasis-open.org/wsrf/bf-2.xsd" namespace="http://docs.oasis-open.org/wsrf/bf-2" />
  <xsd:import schemaLocation="http://docs.oasis-open.org/wsn/b-2.xsd" namespace="http://docs.oasis-open.org/wsn/b-2" />
  <xsd:import schemaLocation="http://docs.oasis-open.org/wsn/t-1.xsd" namespace="http://docs.oasis-open.org/wsn/t-1" />
  <xsd:element name="RequiresRegistration" type="xsd:boolean" />
  <xsd:element name="PublisherReference" type="wsa:EndpointReferenceType" />
  <xsd:element name="ConsumerReference" type="wsa:EndpointReferenceType" />
  <xsd:element name="Topic" type="wsn-b:TopicExpressionType" />
  <xsd:element name="Demand" type="xsd:boolean" />
  <xsd:element name="CreationTime" type="xsd:dateTime" />
  <xsd:element name="NotificationBrokerRP">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="0" maxOccurs="unbounded" ref="wsn-b:TopicExpression" />
        <xsd:element minOccurs="0" maxOccurs="1" ref="wsn-b:FixedTopicSet" />
        <xsd:element minOccurs="0" maxOccurs="unbounded" ref="wsn-b:TopicExpressionDialect" />
        <xsd:element minOccurs="0" maxOccurs="1" ref="wstop:TopicSet" />
        <xsd:element minOccurs="1" maxOccurs="1" ref="wsn-br:RequiresRegistration" />
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="PublisherRegistrationRP">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="0" maxOccurs="1" ref="wsn-br:PublisherReference" />
        <xsd:element minOccurs="0" maxOccurs="unbounded" ref="wsn-br:Topic" />
        <xsd:element minOccurs="1" maxOccurs="1" ref="wsn-br:Demand" />
        <xsd:element minOccurs="0" maxOccurs="1" ref="wsn-br:CreationTime" />
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="RegisterPublisher">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="0" maxOccurs="1" name="PublisherReference" type="wsa:EndpointReferenceType" />
        <xsd:element minOccurs="0" maxOccurs="unbounded" name="Topic" type="wsn-b:TopicExpressionType" />
        <xsd:element minOccurs="0" maxOccurs="1" default="false" name="Demand" type="xsd:boolean" />
        <xsd:element minOccurs="0" maxOccurs="1" name="InitialTerminationTime" type="xsd:dateTime" />
        <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="RegisterPublisherResponse">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="1" maxOccurs="1" name="PublisherRegistrationReference" type="wsa:EndpointReferenceType" />
        <xsd:element minOccurs="0" maxOccurs="1" name="ConsumerReference" type="wsa:EndpointReferenceType" />
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:complexType name="PublisherRegistrationRejectedFaultType">
    <xsd:complexContent mixed="false">
      <xsd:extension base="wsrf-bf:BaseFaultType" />
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="PublisherRegistrationRejectedFault" type="wsn-br:PublisherRegistrationRejectedFaultType" />
  <xsd:complexType name="PublisherRegistrationFailedFaultType">
    <xsd:complexContent mixed="false">
      <xsd:extension base="wsrf-bf:BaseFaultType" />
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="PublisherRegistrationFailedFault" type="wsn-br:PublisherRegistrationFailedFaultType" />
  <xsd:element name="DestroyRegistration">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
      </xsd:sequence>
      <xsd:anyAttribute />
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="DestroyRegistrationResponse">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax" />
      </xsd:sequence>
      <xsd:anyAttribute />
    </xsd:complexType>
  </xsd:element>
  <xsd:complexType name="ResourceNotDestroyedFaultType">
    <xsd:complexContent mixed="false">
      <xsd:extension base="wsrf-bf:BaseFaultType" />
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="ResourceNotDestroyedFault" type="wsn-br:ResourceNotDestroyedFaultType" />
</xsd:schema>